package com.warren.biz.service;

import com.warren.biz.entity.Health;
import com.baomidou.mybatisplus.extension.service.IService;
import com.warren.handler.BusinessException;
import com.warren.biz.vo.HealthVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author warren
 * @since 2021-04-20
 */
public interface HealthService extends IService<Health> {

    /**
     * 健康上报
     * @param healthVO
     * @throws BusinessException
     */
    void report(HealthVO healthVO) throws BusinessException;

    /**
     * 今日是否已经报备
     * @param id
     * @return
     */
   Health isReport(Long id);


}
